﻿using System.Drawing;

namespace MapEditor.Tiles
{
    public class TileType
    {
        public const string DefaultName = "Regular";

        public string Name { get; set; }
        public int Identifier { get; set; }
        public Color Color { get; set; }

        public TileType(string name, int identifier) : this(name, identifier, Color.White) { }

        public TileType(string name, int identifier, Color color)
        {
            Name = name;
            Identifier = identifier;
            Color = color;
        }

        public TileType(TileType copy)
        {
            Name = copy.Name;
            Identifier = copy.Identifier;
            Color = copy.Color;
        }

        public override string ToString()
        {
            return Name;
        }
    }
}
